package Input;

import java.awt.event.KeyEvent;
import Menus.ViewMenu;

public class ViewMenuInput 
{
	ViewMenu menu;
	public ViewMenuInput(ViewMenu menu) 
	{
		this.menu = menu;
	}

	public void keyPressed(KeyEvent e) 
	{
		if(e.getKeyCode() == KeyEvent.VK_N)
		{
			menu.currentEntity++;
		}
		menu.update();
	}

	public void keyReleased(KeyEvent arg0) 
	{
		
	}

	public void keyTyped(KeyEvent arg0) 
	{
		
	}
}
